package ae.pcfc.cldos.online.common.clddb.domain.manager.provider;

import java.util.List;

import org.springframework.stereotype.Repository;

import ae.pcfc.cldos.online.common.clddb.domain.FnpServiceMaster;
import ae.pcfc.cldos.online.common.clddb.domain.manager.FnpGSDOM;

/**
 * 
 * @author akhader
 *
 */
@Repository
public class FnpGSDOMImpl implements FnpGSDOM{
	/**
	 * 
	 */
	private ae.pcfc.cldos.online.common.clddb.dao.FnpServiceMasterDAO FnpServiceMasterDAO;
	
	/**
	 * @param fnpServiceMasterDAO
	 */
	public void setFnpServiceMasterDAO(ae.pcfc.cldos.online.common.clddb.dao.FnpServiceMasterDAO fnpServiceMasterDAO) {
		FnpServiceMasterDAO = fnpServiceMasterDAO;
	}
	/**
	 * @param serviceCode
	 * @return List<FnpServiceMaster>
	 */
	public List<FnpServiceMaster> getFnpCodeByServiceCode(Long serviceCode){
		return FnpServiceMasterDAO.getFnpCodeByServiceCode(serviceCode);
	}
	
	public List<String> getFnpCodeListByServiceCode(Long serviceCode){
		return FnpServiceMasterDAO.getFnpCodeListByServiceCode(serviceCode);
	}
	/**
	 * @param fnpServiceMasters
	 */
	public void insertAll(List<FnpServiceMaster> fnpServiceMasters,Long serviceCode){
		 FnpServiceMasterDAO.insertAll(fnpServiceMasters,serviceCode);
	}

}
